<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/detail.css" />
		<link rel="stylesheet" type="text/css" href="../css/index.css" />
		<script src="/libs/requirejs/require.js" data-main="/js/detail"></script>
	</head>
	<body>
		<header></header>
		<section>
			<div class="midd">
				<div class="route">
					<span>当前位置：</span>
					<a href="#">首页</a>
					<i>></i>
					<a href="#">蛋糕</a>
					<i>></i>
					<a href="#">天然奶油蛋糕</a>
					<i>></i>
					<a href="#">芭蕾公主</a>
				</div>
				<div class="classtify">
					<span>蛋糕分类：</span>
					<ul>
						<li><a href="#">不限</a></li>
						<li><a href="#">【新品上市】</a></li>
						<li><a href="#">天然奶油蛋糕</a></li>
						<li><a href="#">乳酪蛋糕</a></li>
						<li><a href="#">慕斯蛋糕</a></li>
						<li><a href="#">巧克力风味蛋糕</a></li>
						<li><a href="#">大型庆典蛋糕</a></li>
					</ul>
				</div>
			</div>

		</section>
		<footer></footer>
		<script type="text/html" id="detail-init">
			<div class="jianjj" data-id="{{prod.id}}">			
				<div class="info">
					<div class="infotop">
						<div class="img1">
							<img src="{{prod.photos[0].url}}" class="card-img" data-zoom-image="{{prod.photos[0].url}}"/>
						</div>
						<div class="imgs" id="gallery">
							<a href="#" class="ih" data-image="{{prod.photos[0].url}}" data-zoom-image="{{prod.photos[0].url}}"><img src="{{prod.photos[0].url}}"></a>
							<a href="#" data-image="{{prod.photos[1].url}}" data-zoom-image="{{prod.photos[1].url}}"><img src="{{prod.photos[1].url}}"></a>
							<a href="#" data-image="{{prod.photos[2].url}}" data-zoom-image="{{prod.photos[2].url}}"><img src="{{prod.photos[2].url}}"></a>
						</div>
				
					</div>
					<div class="infobott">
						<i><img src="../images/like.png"></i>
						<span>{{prod.favoritedCount}}人喜欢</span>
					</div>
				</div>
				<div class="dgname1">
					<div class="name">
						<span class="cart-title">{{prod.title}}</span>
						<span>{{prod.title}}</span>
					</div>
					<div class="price">
						<span class="cart-price">￥{{prod.price}}</span>
						<div class="jrgwc">加入购物车</div>
					</div>
				</div>
				<div class="jianj">
					<div class="cp">
						<i></i>
						<span>产品属性</span>
					</div>
					<div class="imgs">
						{{each prod.descContentList con}}
						{{if con.image}}
							<i><img src="{{con.image.url}}"></i>
						{{/if}}
						{{/each}}
					</div>
				</div>
			</div>
		</script>
	</body>
</html>
